import { Module } from '@nestjs/common'
import { TypeOrmModule } from '@nestjs/typeorm'

import { DictDataController } from './dict-data.controller'
import { DictDataEntity } from './dict-data.entity'
import { DictDataService } from './dict-data.service'

const services = [DictDataService]

@Module({
  imports: [TypeOrmModule.forFeature([DictDataEntity])],
  controllers: [DictDataController],
  providers: [...services],
  exports: [TypeOrmModule, ...services],
})
export class DictDataModule {}
